Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use readable-stream instead of stream #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

taymoork2
Copy link

Going through a webpack v5 upgrade on a repo. With the removal of Automatic nodejs polyfills, i've been seeing stream come up as a issue.
readable-stream is a mirror of node's stream lib from the nodejs team

@TrySound
Copy link

You can add polyfill manually with webpack. There is no need to change all node packages.

@jimmywarting
Copy link

jimmywarting commented Sep 14, 2022

👎 will only increase the dependency tree and ppl will get stuck with a rather old implementation that will never be updated with newer features once a package is no longer maintained.

should rather opt to use async iterable instead or something web-ish such as web streams that exist globally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants